//
//  PriceConfirmationURL.swift
//  ParkManage
//
//  Created by cf on 2020/9/22.
//  Copyright © 2020 diligrp. All rights reserved.
//

import Foundation

enum PriceConfirmationURL {
    /// 价格详情
    case priceDetail
}

extension PriceConfirmationURL {
    
    var path: String {
        switch self {
        case .priceDetail:
            return "navigator://PriceConfirmationURL/priceDetail"
        }
    }
    
    static func initRouter() {
        navigator.register(PriceConfirmationURL.priceDetail.path) { _, _, _ in
            let vc = PriceDetailViewController()
            return vc
        }
    }
}
